package top.cyuw.subjectsystem.dto.subject;

import lombok.Data;
import top.cyuw.subjectsystem.dto.BaseDto;

import javax.validation.constraints.NotBlank;

@Data
public class SubjectCreateRequest extends BaseDto {

    @NotBlank(message = "选题名称不能为空")
    private String name;

    @NotBlank(message = "选题简介不能为空")
    private String description;

}
